Dodaj repozytoria non-free do sources.list
vim /etc/apt/sources.list
deb http://deb.debian.org/debian buster main contrib non-free deb-src http://deb.debian.org/debian buster main contrib non-free deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free deb http://deb.debian.org/debian buster-updates main contrib non-free deb-src http://deb.debian.org/debian buster-updates main contrib non-free
Zainstaluj na serwerze paczki snmp i snmp-base
aptitude update aptitude install snmp snmp-mibs-downloader
Edytuj plik snmp.conf
vim /etc/snmp/snmp.conf
#mibs:
Uruchom w wierszu poleceń:
download-mibs
service zabbix-server restart
Sprawdzamy połączenie przez SNMP
snmpwalk -c public -v2c 192.168.1.10
Dodajemy Hosta w panelu Zabbix.
Menu > Configuration -> Hosts -> Create Host
Host name = UPS1 Groups = Discovered hosts Agent interfaces = Remove SNMP Interfaces = 192.168.1.10
Menu > Macros
Macro = {$SNMP_COMMUNITY}
Value = public
Menu > Templates
Template Module Generic SNMPv1
https://www.youtube.com/watch?v=w8OoE3c3PsY